namespace Catastrophe.Common.AttributeEx
{
	public class ComOpcDataAttribute : ComDataAttribute
	{
		public string Group { get; set; } = "";


		public ComOpcDataAttribute(string group, string item, string describe, OprTypeEnum oprType, AllowOprEnum allowOpr = AllowOprEnum.ReadAndWrite)
			: base(item, CpuTypeEnum.UnDefine, DataTypeEnum.PropertyType, describe, oprType, allowOpr)
		{
			this.Group = group;
		}

		public ComOpcDataAttribute(string group, string item, CpuTypeEnum cpuType, DataTypeEnum dataType, string describe, OprTypeEnum oprType, AllowOprEnum allowOpr = AllowOprEnum.ReadAndWrite)
			: base(item, cpuType, dataType, describe, oprType, allowOpr)
		{
			this.Group = group;
		}
	}
}
